<script lang="ts" setup>

</script>

<template>
  <el-skeleton animated>
    <template #template>
      <ul>
        <li>
          <div class="headPicture">
            <el-skeleton-item variant="circle" />
          </div>
          <div class="textWrap">
            <el-skeleton :rows="2" />
          </div>
        </li>
      </ul>
    </template>
  </el-skeleton>
</template>

<style lang="scss" scoped>
ul {
  li {
    display: flex;
    width: 100%;
    min-height: 80px;
    padding: 15px 0;
    box-sizing: border-box;

    .headPicture {
      flex-basis: 50px;

      :deep(.el-skeleton__circle) {
        width: 50px;
        height: 50px;
      }
    }

    .textWrap {
      flex: 1;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      margin-left: 10px;
    }
  }
}
</style>
